<link rel="stylesheet" href="http://www.12301.cc/css/common/www.12301.cc.global.css"/>
<link rel="stylesheet" href="http://www.12301.cc/tpl/membercard/css/membercard.common.css"/>
<link rel="stylesheet" href="http://www.12301.cc/tpl/membercard/css/mem_certify.css"/>
<link rel="stylesheet" type="text/css" href="http://www.12301.cc/css/basic.css"/>
<style>
.foot-new{float:left;}
.memberIdNumLine {
  margin-top: 20px;
  margin-left: 20px;
}
.exme { 
  display: block;
  width: 58px;
  height: 30px;
  background: url('http://www.12301.cc/images/ema.png') 0px 60px;
  margin-left: 690px;
}
.setwidth{width:160px;height:auto;margin-top:10px;}
.setfont{width:160px;height:180px;line-height:180px;text-align:center;color:#4F4F4F;}
</style>
<!--[if lt IE 7]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 lt-ie8 lt-ie7 ie6 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 7]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 lt-ie8 ie7 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 8]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 ie8 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 9]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 ie9 memCertifyContainer commonRigContainer"><![endif]-->
<!--[if gt IE 9]><!--><div id="memCertifyContainer" style="padding-top:0" class="memCertifyContainer commonRigContainer"> <!--<![endif]-->
<input name="" id="hidInp_com_type" value="<?=$var['com_type']?>" type="hidden"/>
<input name="" id="hidInp_did" value="<?=$_SESSION['sid']?>" type="hidden"/>
<!--	<div id="tabHead" class="tabHead"><span class="tabNav">会员信息</span><span class="tabNav active">资质认证</span><span class="tabNav">会员卡信息</span></div>-->
<?include("/var/www/html/new/d/tpl/info_head.html");?>
<?if($var['certi_status']==2):?>
<span class="exme"></span>
<?endif;?>
<div class="formContainer" style="padding-top:0">
<? if($var['com_type']=="个人"){ ?>
    <div class="memberIdNumLine">
        <span class="t">身份证号码：</span>
        <input type="text" name="" class="formInp memberIdNumInp" id="id_card_input" value="<?=$var['id_card_no'] ?>" <?if($var['certi_status']==2):?>disabled="disabled"<?endif;?>/>
        <span class="tip" style="color:#f37138">必须和支付宝实名信息一致</span></br>
        <span class="t" style="visibility:hidden">身份证号码：</span>
        <span id="idcardErrorTip" class="error tip" style="color:#e12424; padding-top:5px; display:none">*请输入正确格式的身份证号</span></br>
    </div>
    <div style="margin-top:10px" class="uploadBox">
        <div class="fbox lt">
            <p class="tit">手持身份证正面<span class="require tip">(必传)</span></p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_1" class="imgW ui-upload-container" style="background-image:url('<?=$var['id_card_hand']?>')">
                        <input id="id_card_hand_hid_inp" value="<?=$var['id_card_hand']?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传手持身证正面" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_1_iframe"></iframe>
                        <form id="sssform" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_1_iframe">
							<?if($var['certi_status']<>2):?>
                            <label for="imgupload_file_1">
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                                <input type="file" name="id_card_hand" class="fileInp" id="imgupload_file_1"/>
                            </label>
							<?endif;?>
                            <input name="callback" value="imgUpload_1.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="hidden" name="tt" value="id_card_hand"/>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi06.gif" alt=""/></div>
                <ol class="ol">
                    <li>1、身份证上的信息清晰无遮挡</li>
                    <li>2、完整露出双手手臂</li>
                    <li>3、五官可见</li>
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">手持身份证背面<span class="require tip">(必传)</span></p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_2" class="imgW ui-upload-container" style="background-image:url('<?=$var['id_card_B']?>')">
                        <input id="id_card_B_hid_inp" value="<?=$var['id_card_B']?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="手持身份证背面" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_2_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>"  target="imgLoador_2_iframe" enctype="multipart/form-data" method="post">
							<?if($var['certi_status']<>2):?>
                            <label for="imgupload_file_2">
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                                <input type="file" name="id_card_B" class="fileInp" id="imgupload_file_2"/>
                            </label>
							<?endif;?>
                            <input name="callback" value="imgUpload_2.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="hidden" name="tt" value="id_card_B"/>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>   
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi05.gif" alt=""/></div>
                <ol class="ol">
                    <li>1、身份证上的信息清晰无遮挡</li>
                    <li>2、完整露出双手手臂</li>
                    <li>3、五官可见</li>
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">其它证件（驾驶证或导游证）</p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_3" class="imgW ui-upload-container" style="background-image:url('<?=$var['other_les']?>')">
                        <input id="other_les_hid_inp" value="<?=$var['other_les']?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_3_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_3_iframe">
							<?if($var['certi_status']<>2):?>
                            <label for="imgupload_file_3"><i class="iconfont">&#xe675;</i><span class="t">上传图片</span></label>
                            <input name="callback" value="imgUpload_3.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="file" name="other_les" class="fileInp" id="imgupload_file_3"/>
							<?endif;?>
                            <input type="hidden" name="tt" value="other_les"/>
                            <span class="ie8formsubmitBtn"></span>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/none.jpg" alt=""/></div>
                <ol class="ol">
                     <li>1、信息清晰可识别</li>
                    
                </ol>
            </div>
        </div>
    </div>
<?}else{?>
    <!--企业或组织-->
      <p><span style="color: red; position: relative; top: 2px; margin-right: 5px; ">*</span>一码一证的企业不需上传代证码与税务登记证</p>
    <div class="uploadBox">
      
        <div class="fbox lt">
            <p class="tit">营业执照（正本）<span class="require tip">(必传)</span></p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_bsn_les" class="imgW ui-upload-container" style="background-image:url('<?=$var['bsn_les']?>')">
                        <input id="bsn_les_hid_inp" class="imgurl hidInp_imgurl" value="<?=$var['bsn_les']?>" data-require="true" data-msg="请上传营业执照（正本）" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_bsn_les_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_bsn_les_iframe">
                            <?if($var['certi_status']<>2):?>
							<label for="imgupload_file_bsn_les">
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                                <input type="file" name="bsn_les" class="fileInp" id="imgupload_file_bsn_les"/>
                            </label>
							<?endif;?>
                            <input name="callback" class="hidInp_callback" value="imgUpload_bsn_les.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="hidden" name="tt" value="bsn_les"/>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi01.jpg" alt=""/></div>
                <ol class="ol">
                    <li>1、信息清晰可识别</li>
                   
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">开户许可证/经营许可证（正本）</p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_opt_les" class="imgW ui-upload-container" style="background-image:url('<?=$var['opt_les']?>')">
                        <input id="opt_les_hid_inp" value="<?=$var['opt_les']?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_opt_les_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_opt_les_iframe">
                            <?if($var['certi_status']<>2):?>
							<label for="imgupload_file_opt_les"><i class="iconfont">&#xe675;</i><span class="t">上传图片</span></label>
							<?endif;?>
                            <input name="callback" class="hidInp_callback" value="imgUpload_opt_les.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="file" name="opt_les" class="fileInp" id="imgupload_file_opt_les"/>
                            <input type="hidden" name="tt" value="opt_les"/>
                            <span class="ie8formsubmitBtn"></span>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi02.jpg" alt=""/></div>
                <ol class="ol">
                    <li>1、信息清晰可识别</li>
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">税务登记证<span class="require tip">(必传)</span></p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_tax_les" class="imgW ui-upload-container" style="background-image:url('<?=$var['tax_les']?>')">
                        <input id="tax_les_hid_inp" value="<?=$var['tax_les']?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传税务登记证" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_tax_les_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_tax_les_iframe">
                            <?if($var['certi_status']<>2):?>
							<label for="imgupload_file_tax_les">
                                <input type="file" name="tax_les" class="fileInp" id="imgupload_file_tax_les"/>
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                            </label>
							<?endif;?>
                            <input name="callback" class="hidInp_callback" value="imgUpload_tax_les.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="hidden" name="tt" value="tax_les"/>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi03.jpg" alt=""/></div>
                <ol class="ol">
                    <li>1、信息清晰可识别</li>
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">组织机构代码证<span class="require tip">(必传)</span></p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_org_les" class="imgW ui-upload-container" style="background-image:url('<?=$var['org_les']?>')">
                        <input id="org_les_hid_inp" value="<?=$var['org_les']?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传组织机构代码证" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_org_les_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_org_les_iframe">
                            <?if($var['certi_status']<>2):?>
							<label for="imgupload_file_org_les">
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                                <input type="file" name="org_les" class="fileInp" id="imgupload_file_org_les"/>
                            </label>
							<?endif;?>
                            <input name="callback" class="hidInp_callback" value="imgUpload_org_les.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>

                            <input type="hidden" name="tt" value="org_les"/>
                        </form>
                        <div class="loading">
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img class="setwidth" src="http://www.12301.cc/tpl/membercard/images/certifi04.jpg" alt=""/></div>
                <ol class="ol">
                    <li>1、信息清晰可识别</li>
                </ol>
            </div>
        </div>
    </div>
    <div class="uploadBox">
        <div class="fbox lt">
            <p class="tit">资源方授权书</p>
            <div class="boxCon">
                <div class="photoWrap">
                    <div id="imgLoaderContainer_auth_les" class="imgW ui-upload-container" style="background-image:url('<?=$var['auth_les']?>')">
                        <input id="auth_les_hid_inp" value="<?=$var['auth_les']?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
                        <iframe frameborder="0" name="imgLoador_auth_les_iframe"></iframe>
                        <form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_auth_les_iframe">
							<?if($var['certi_status']<>2):?>
                            <label for="imgupload_file_auth_les">
                                <i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
                                <input type="file" name="auth_les" class="fileInp" id="imgupload_file_auth_les"/>
                            </label>
							<?endif;?>
                            <input name="callback" class="hidInp_callback" value="imgUpload_auth_les.oncomplete" type="hidden"/>
                            <input name="action" value="UploadImage" type="hidden"/>
                            <input type="hidden" name="tt" value="auth_les"/>
                            <span class="ie8formsubmitBtn"></span>
                        </form>
                        <div class="loading"> 
                            <div class="loadingCon">
                                <img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="fbox rt">
            <p class="tit">示例</p>
            <div class="boxCon">
                <div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/none.jpg" alt=""/></div>
                <ol class="ol">
                    <li>1、信息清晰可识别</li>
                </ol>
            </div>
        </div>
    </div>
<?}?>

<?if($var['certi_status']<>2):?>
<div class="buttonW"><a id="saveBtn" class="saveBtn" href="#">提交保存</a></div>
<?endif;?>
<div id="formLoading" style="display:none" class="formLoading"><div class="con"><img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在保存...</span></div></div>
</div>

<script type="text/javascript" src="http://www.12301.cc/js/global/www.12301.cc.global.js"></script>
<script type="text/javascript" src="http://wx.12301.cc/public/js/common/class.js"></script>
<!-- <script type="text/javascript" src="http://www.12301.cc/module/pwk/js/membercard.renzheng.js"></script> -->
<script type="text/javascript" src="http://www.12301.cc/js/membercard_ren.js"></script> 